<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login.html</title>
</head>
<body>
<div style="width:100%;text-align:center">
<form action="login.html" method="post">
    用户名:<input id="username" type="text" name="username"><br>
    密码:<input type="password" name="pwd"/><br>
    <span style="color:red;"> {{ message }} </span><br>
    <input type="submit" value="登录">
    <a href="register.html">注册</a>
    {% csrf_token %}
</form>
</div>
</body>
</html>